//
//  THJDianjiaViewController.m
//  THJXHW
//
//  Created by 河南德艺 on 2018/10/9.
//  Copyright © 2018年 河南德艺. All rights reserved.
//

#import "THJDianjiaViewController.h"
#import "UIButton+ImageTitleSpacing.h"
#import "THJMyDianJiaOrderVC.h"
#import "THJMyFabuListVC.h"
#import "THJDIanjiaXieYiVC.h"

@interface THJDianjiaViewController ()

@end

@implementation THJDianjiaViewController
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.tabBarController.tabBar.hidden = YES;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    if(KIsiPhoneX){
        [self setXNavBarWithTitle:@"我的点价"];
    }else{
        [self setNavBarWithTitle:@"我的点价"];
    }
    [self.btn1 layoutButtonWithEdgeInsetsStyle:MKButtonEdgeInsetsStyleTop imageTitleSpace:5];
    [self.btn2 layoutButtonWithEdgeInsetsStyle:MKButtonEdgeInsetsStyleTop imageTitleSpace:5];
}
- (IBAction)btn1Action:(id)sender {
    [self.navigationController pushViewController:[THJMyFabuListVC new] animated:YES];
}
- (IBAction)btn2Action:(id)sender {
    [self.navigationController pushViewController:[THJMyDianJiaOrderVC new] animated:YES];
}
@end
